import { LeftOutlined, RightOutlined } from "@ant-design/icons";
import CarouselC from "./CarouselChar";
import RightUp from "./RightUp";
interface s {
    abstrucont: string,
    avatar: string,
    cover: string,
    descc: string,
    fans: number,
    lov: number,
    nickname: string,
    pulses: number,
    tag: string,
    title: string,
    views: number

}
function CoverUp({ cover, views,  pulses, abstrucont, fans, avatar, descc, lov, nickname, title }: s) {
    console.log(11, cover);
  console.log( views);
  
    function TpChang1() {
    }
    function TpChang() {
    }
    return (
        <div >
            <p className="Left"><LeftOutlined style={{ color: '#fff', fontSize: '30px' }} onChange={TpChang} /></p>
            <div className="upT">
                <div className="ImgCour">< CarouselC cover={cover} /></div>
                <div><RightUp

                    cover={cover}
                    abstrucont={abstrucont}
                    avatar={avatar}
                    descc={descc}
                    fans={fans}
                    lov={lov}
                    nickname={nickname}
                    pulses={pulses}
                    title={title}
                    views={views} 
                    supports={0} 
                    tag={""}        
                                    
                /></div>
            </div>

        </div>
    )
}
export default CoverUp;